package karileet.meeting.profile.list.item;

/**
 * Class for one row element.
 *
 * @author markus
 */
public class ListCheckboxItem {

    private String title;
    private String description;
    private boolean selected;

    public ListCheckboxItem(String title, String description, boolean selected) {
        this.title = title;
        this.selected = selected;
        this.description = description;
    }

    public String getTitle() {
        return title;
    }

    public String getDescription() {
        return description;
    }

    public boolean isSelected() {
        return selected;
    }

    public void toggle() {
        this.selected = !this.selected;
    }
}
